package com.gok.seasonmovie.service;

import com.gok.seasonmovie.entity.Movie;
import com.gok.seasonmovie.entity.Orders;
import com.gok.seasonmovie.mapper.OrderMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderService {
    @Autowired
    private OrderMapper orderMapper;

    public List<Orders> findAll() {
        return orderMapper.findAll();
    }
}
